package com.zzyl.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration //把当前类声明成一个配置类
@ConfigurationProperties(prefix = "zzyl.framework.wx") //读取配置文件中的内容，prefix:前缀
@Data
public class WeChatConfigProperties {

    private String appid;
    private String secret;
    private String loginUrl;
    private String accessTokenUrl;
    private String phoneUrl;
}
